package com.pratices.mvc.jedis;

import com.pratices.mvc.data.PageInfo;
import redis.clients.jedis.Jedis;

public class JedisDemo {

   //创建set方法
    public static void set(String region, PageInfo pageInfo){

        Jedis jedis = new Jedis("localhost", 6379);
        jedis.set(region, pageInfo.toString());

    }
}
